package net.sk.china.platform.service.order;

import com.baomidou.mybatisplus.extension.service.IService;
import net.sk.china.common.model.order.StoreOrderInfo;
import net.sk.china.common.vo.StoreOrderInfoOldVo;

import java.util.HashMap;
import java.util.List;

/**
 * StoreOrderInfoService 接口
 * +----------------------------------------------------------------------
 * | Talk To [ 聊来改善地区金融服务环境，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2018-2024 聊来All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed ( <a href="http://www.apache.org/licenses/LICENSE-2.0">apache</a> )
 * +----------------------------------------------------------------------
 * | @Author: 聊来 <18970881148@qq.com>
 * +----------------------------------------------------------------------
 * | DateTime: 2024/6/3 22:14
 * +----------------------------------------------------------------------
 */
public interface StoreOrderInfoService  extends IService<StoreOrderInfo> {

    /**
     * 根据id集合查询数据，返回 map
     * @param orderIdList id集合
     * @return {@code HashMap<Integer, List<StoreOrderInfoOldResponse>>}
     */
    HashMap<Integer, List<StoreOrderInfoOldVo>> getMapInId(List<Integer> orderIdList);


    List<StoreOrderInfoOldVo> getOrderListByOrderId(Integer orderId);

    /**
     * 获取订单详情-订单编号
     * @param orderNo 订单编号
     * @return {@code List<StoreOrderInfo>}
     */
    List<StoreOrderInfo> getListByOrderNo(String orderNo);
}
